package DesignPrinciple.DepInversion.CorrectDIP;

import DesignPrinciple.DepInversion.CorrectDIP.inter.HardDisk;

public class XiShuHardDisk implements HardDisk {
    @Override
    public void save(String data) {
        System.out.println("使用西数硬盘保存数据:" + data);
    }

    @Override
    public String get() {
        System.out.println("使用西数硬盘读取数据");
        return "数据";
    }
}
